"""
int(正数类型)
float(浮点类型)
complex(复数类型)
bool(布尔类型)
"""

age = 18
print(age,type(age))
height = 185.3
print(height,type(height))
qq = 1+2j
print(qq,type(qq))
married = True
print(married,type(married))



print("数值类型的转化")

a = 18
b = 18.5

print(f"a的值是:{a} a的类型是:{type(a)} a转换成float后的结果是:{float(a)}")
print(f"b的值是:{b} a的类型是:{type(b)} a转换成int后的结果是:{int(b)}")
